package com.jame.test.pojo;

import org.springframework.stereotype.Component;

/**
 * @author : Jame
 * @date : 2022-09-02 10:15
 **/
@Component
public class Room {

	Student student;

	People teacher;

	public void info(){
		System.out.println("student:"+student+"====people:"+teacher);
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public People getTeacher() {
		return teacher;
	}

	public void setTeacher(People teacher) {
		this.teacher = teacher;
	}
}
